package com.ft.springboottravel.bean;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.stereotype.Component;

@Component
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class Banner {
    private Integer banId;
    private String banSrc;
    private Integer isShow;
    private Integer routeId;

    @Override
    public String toString() {
        return "Banner{" +
                "banId=" + banId +
                ", banSrc='" + banSrc + '\'' +
                ", isShow=" + isShow +
                ", routeId=" + routeId +
                '}';
    }
}
